package com.tanhua.server.exception;

import com.tanhua.model.vo.ErrorResult;
import lombok.Data;

/**
 * @Author Pan Rundong
 * @Date 2023-02-25 20:18
 * @Desc 业务异常处理类
 */
@Data
public class BusinessException extends RuntimeException{
    private ErrorResult errorResult;

    public BusinessException (ErrorResult errorResult) {
        this.errorResult = errorResult;
    }

}
